package com.spar.openprojects.shared;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class OrderItem implements IsSerializable {
	private Integer id;
	private Integer orderId;
	private Integer type;
	private Integer deleted = 0;
	private Double amount = 0D;
	private String number = "";
	private String link = "";
	private Date date;
	private Date releaseDate;

	private Date updated = new Date();
	private Date created = new Date();
	
	private Member updateMember = new Member();
	private Member createMember = new Member();
	
	public Integer getId() {
		return id;
	}
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getType() {
		return type;
	}
	public Integer getDeleted() {
		return deleted;
	}
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public Date getReleaseDate() {
		return releaseDate;
	}
	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}
	public Date getUpdated() {
		return updated;
	}
	public void setUpdated(Date updated) {
		this.updated = updated;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Member getUpdateMember() {
		return updateMember;
	}
	public void setUpdateMember(Member updateMember) {
		this.updateMember = updateMember;
	}
	public Member getCreateMember() {
		return createMember;
	}
	public void setCreateMember(Member createMember) {
		this.createMember = createMember;
	}	
}
